package com.gof.example.command.macro;

/**
 * Created with IntelliJ IDEA.
 * Created by zhiyuan on 2018/5/10 10:40.
 * haiming.fei@tongdun.cn
 */
public class Adder {

    private int num;

    public Adder() {
        this.num = 0;
    }

    public void add(int a) {
        num += a;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }
}
